package com.zxy.ziems.server.energy.pojo.param;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.zxy.ziems.server.mybatis.core.pojo.PageParam;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 测量数据分页查询参数
 * @author zph
 * @create 2025-04-02 14:28
 */
@Data
public class DeviceMeasureDataDayPageParam extends PageParam {


    /**
     * 设备名称
     */
    private String name;
    /**
     * 设备编码
     */
    private String code;

    /**
     * 开始时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate startTime;

    /**
     * 结束时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate endTime;
}
